import axios from 'axios';
export const getListAll = async () => {
    let res = await axios({
        method: "get",
        url: '/api/supplier/getSupplier',
    })
    return res.data
}
export const getOrder = async () => {
    let res = await axios({
        method: "get",
        url: '/api/supplier/getOrder',
    })
    return res.data
}
export const getListAllOne = async (_id) => {
    let res = await axios({
        method: "get",
        url: `/api/supGoods/${_id}`,
    })
    return res.data
}
